package mesweb.mesweb.entity.sale;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hszh.wms.mbg.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 订单
 * @Author: jeecg-boot
 * @Date:   2021-07-02
 * @Version: V1.0
 */
@Data
@TableName("Sale_OrderMst")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Sale_OrderMst对象", description="订单")
public class SaleOrderMst extends BaseEntity {
    

    @ApiModelProperty(value = "orderno")
	private String orderno;
	/**sbillname*/

    @ApiModelProperty(value = "sbillname")
	private String sbillname;
	/**scontractno*/

    @ApiModelProperty(value = "scontractno")
	private String scontractno;
	/**ssalesid*/

    @ApiModelProperty(value = "ssalesid")
	private String ssalesid;
	/**dorderdate*/

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "dorderdate")
	private Date dorderdate;
	/**icustomerid*/

    @ApiModelProperty(value = "icustomerid")
	private Integer icustomerid;
	/**sproductserial*/

    @ApiModelProperty(value = "sproductserial")
	private String sproductserial;
	/**sseasoncode*/

    @ApiModelProperty(value = "sseasoncode")
	private String sseasoncode;
	/**sprocesstypecode*/

    @ApiModelProperty(value = "sprocesstypecode")
	private String sprocesstypecode;
	/**spaytermcode*/

    @ApiModelProperty(value = "spaytermcode")
	private String spaytermcode;
	/**ncommissionrate*/

    @ApiModelProperty(value = "ncommissionrate")
	private java.math.BigDecimal ncommissionrate;
	/**sremark*/

    @ApiModelProperty(value = "sremark")
	private String sremark;
	/**istatus*/

    @ApiModelProperty(value = "istatus")
	private Integer istatus;
	/**iversion*/

    @ApiModelProperty(value = "iversion")
	private Integer iversion;
	/**screator*/

    @ApiModelProperty(value = "screator")
	private String screator;
	/**dcreatedate*/

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "dcreatedate")
	private Date dcreatedate;
	/**sdeptno*/

    @ApiModelProperty(value = "sdeptno")
	private String sdeptno;
	/**sapprover*/

    @ApiModelProperty(value = "sapprover")
	private String sapprover;
	/**dapproveddate*/

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "dapproveddate")
	private Date dapproveddate;
	/**scontractremark*/

    @ApiModelProperty(value = "scontractremark")
	private String scontractremark;
	/**sartuser*/

    @ApiModelProperty(value = "sartuser")
	private String sartuser;
	/**dartreceiveddate*/

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "dartreceiveddate")
	private Date dartreceiveddate;
	/**bartfinished*/

    @ApiModelProperty(value = "bartfinished")
	private Object bartfinished;
	/**sordertype*/

    @ApiModelProperty(value = "sordertype")
	private String sordertype;
	/**iproducestatus*/

    @ApiModelProperty(value = "iproducestatus")
	private Integer iproducestatus;
	/**iprocessfactoryid*/

    @ApiModelProperty(value = "iprocessfactoryid")
	private Integer iprocessfactoryid;
	/**srefstyleno*/

    @ApiModelProperty(value = "srefstyleno")
	private String srefstyleno;
	/**srefcustpono*/

    @ApiModelProperty(value = "srefcustpono")
	private String srefcustpono;
	/**drefdeliverydate*/

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "drefdeliverydate")
	private Date drefdeliverydate;
	/**itotalqty*/

    @ApiModelProperty(value = "itotalqty")
	private Integer itotalqty;
	/**iagentid*/

    @ApiModelProperty(value = "iagentid")
	private Integer iagentid;
	/**sorgorderno*/

    @ApiModelProperty(value = "sorgorderno")
	private String sorgorderno;
	/**srefcustlotstyleno*/

    @ApiModelProperty(value = "srefcustlotstyleno")
	private String srefcustlotstyleno;
	/**ipaymentday*/

    @ApiModelProperty(value = "ipaymentday")
	private Integer ipaymentday;
	/**imanagecompany*/

    @ApiModelProperty(value = "imanagecompany")
	private Integer imanagecompany;
	/**scustdeptid*/

    @ApiModelProperty(value = "scustdeptid")
	private String scustdeptid;
	/**scustman*/

    @ApiModelProperty(value = "scustman")
	private String scustman;
	/**swashid*/

    @ApiModelProperty(value = "swashid")
	private String swashid;
	/**ideclfactid*/

    @ApiModelProperty(value = "ideclfactid")
	private Integer ideclfactid;
	/**iproductfactid*/

    @ApiModelProperty(value = "iproductfactid")
	private Integer iproductfactid;
	/**bcomplete*/

    @ApiModelProperty(value = "bcomplete")
	private Object bcomplete;
	/**spricetype*/

    @ApiModelProperty(value = "spricetype")
	private String spricetype;
	/**ssalestype*/

    @ApiModelProperty(value = "ssalestype")
	private String ssalestype;
	/**sproducestatususerid*/

    @ApiModelProperty(value = "sproducestatususerid")
	private String sproducestatususerid;
	/**dcompletedate*/

	@JSONField(format = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "dcompletedate")
	private Date dcompletedate;
	/**scompleteperson*/

    @ApiModelProperty(value = "scompleteperson")
	private String scompleteperson;
//	/**ttimestamp*/
////    @ApiModelProperty(value = "ttimestamp")
////	private Date ttimestamp;
////	/**scancelproductuserid*/

    @ApiModelProperty(value = "scancelproductuserid")
	private String scancelproductuserid;
	/**dcancelproductdate*/

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "dcancelproductdate")
	private Date dcancelproductdate;
	/**sexportsalesno*/

    @ApiModelProperty(value = "sexportsalesno")
	private String sexportsalesno;
	/**simportorderno*/

    @ApiModelProperty(value = "simportorderno")
	private String simportorderno;
	/**dproducedate*/

	@JSONField(format = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "dproducedate")
	private Date dproducedate;
	/**sordertypecode*/

    @ApiModelProperty(value = "sordertypecode")
	private String sordertypecode;
	/**sproducestatususername*/

    @ApiModelProperty(value = "sproducestatususername")
	private String sproducestatususername;
	/**scustsubdept*/

    @ApiModelProperty(value = "scustsubdept")
	private String scustsubdept;
}
